<template>
  <BasicLayout title="查看订单">
    <IndexList
      slot="content"
      :lists="people"
      :menuList="orderMenuList"
      @clickItem="handleClick"
    />
  </BasicLayout>
</template>
<script>
import BasicLayout from "@/components/BasicLayout/index.vue";
import IndexList from "@/components/IndexList/index.vue";
import { people } from "@/constants/common/people";
import { orderMenuList } from "@/constants/common/orderMenuList";

export default {
  components: {
    IndexList,
    BasicLayout,
  },
  data() {
    return {
      people,
      orderMenuList,
    };
  },
  methods: {
    handleClick(query) {
      this.$router.push({ name: "OrderDetail", query });
    },
  },
};
</script>

<style></style>
